package cn.wyj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

// SpringBoot启动注解
@SpringBootApplication
@MapperScan("cn.wyj.*.mapper")
// 添加Listener包扫描注解
@ServletComponentScan(value = {"cn.wyj.basic.listener"})
public class PethomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PethomeApp.class,args);
    }
}
